//
//  APIConfig.h
//  Around
//
//  Created by 华谕 on 2017/6/13.
//  Copyright © 2017年 HUYU. All rights reserved.
//

#ifndef APIConfig_h
#define APIConfig_h

#define kAppVersion @"kAppVersion"//App版本
#define GAODEKEY @"defa81e0ce88103aab63de43add17bd0"

//登录状态
#define SERVER_IsLogin @"isLogin"
#define SERVER_isPass @"isShenghe"
//用户信息
#define SERVER_UserInfo @"/employer/user/info"
//用户ID
#define SERVER_UserID @"userid"
//登录Token
#define SERVER_LoginToken @"loginToken"
//登录phone
#define SERVER_LoginPhone @"loginPhone"

//注册验证码
#define SERVER_CodeRegist @"/employer/user/getRegisterCode"

//注册
#define SERVER_Regist @"/employer/user/register"

//登录
#define SERVER_UserLogin @"/employer/user/login"

//获取登录用户信息
#define SERVER_UserMessage @"/employer/user/info"

//获取工厂信息
#define SERVER_FactoryInfo @"/employer/employer/info"
//工厂信息保存
#define SERVER_FactoryMessageSave @"/employer/employer/save"
//上传图片
#define SERVER_PictureUpload @"/employer/upload/file"
//获取工厂地址
#define SERVER_GetFactoryAddress @"/employer/area/findAll"

//获取密码加密公钥
#define SERVER_PublicKey @"/employer/keystore/rsaPublicKey"

//获取所有城市
#define SERVER_AllCity @"/employer/area/city"

//热门城市
#define SERVER_HotCity @"/employer/area/hot"
//城市ID
#define SERVER_CityID @"cityID"

//获取所有产线列表
#define SERVER_AllProductionLine @"/employer/pipeline/page"
//获取我的产线列表
#define SERVER_ProductionLine @"/employer/pipeline/mine"
//选择产线类型
#define SERVER_ProduceLineKind @"/employer/category/findAll"
//添加产线
#define SERVER_SaveProductionLine @"/employer/pipeline/save"
//产线详情
#define SERVER_ProductionLineDetail @"/employer/pipeline/select"

//我的钱包余额
#define SERVER_MyWallet @"/employer/wallet/mine"
//交易明细
#define SERVER_MyTransaction @"/employer/transaction/mine"
//修改提现密码时请求验证码
#define SERVER_GetUpdateWithDrawPswCode @"/employer/user/getUpdateWithdrawPswCode"
//修改提现密码
#define SERVER_UpdateWithDrawPsw @"/employer/user/updateWithdrawPsw"
//提现
#define SERVER_WithDrawSave @"/employer/withdraw/add"
//银行卡列表
#define SERVER_BankCardList @"/employer/bankCard/mine"
//解除银行卡绑定
#define SERVER_DeleteBankCard @"/employer/bankCard/delete"

//获取添加银行卡的验证码
#define SERVER_BankCardGetCode @"/employer/bankCard/getCode"
//添加银行卡
#define SERVER_BankCardGetSave @"/employer/bankCard/save"
//银行列表
#define SERVER_BankList @"/employer/bank/findAll"
//是否设置了提现密码
#define SERVER_PasswordSetting @"/employer/withdraw/passwordSetting"
//退出登录
#define SERVER_UserLogout @"/employer/user/logout"
//修改密码时的验证码
#define SERVER_GetUpdatePswCode @"/employer/user/getUpdatePswCode"
//修改密码
#define SERVER_UpdatePsw @"/employer/user/updatePsw"

//实名认证(保存)
#define SERVER_IdentitySave @"/employer/identity/save"
//实名认证(列表数据)
#define SERVER_IdentityMine @"/employer/identity/mine"

//工厂类型
#define SERVER_CategoryFindAll @"/employer/category/findAll"
//工厂产品
#define SERVER_ProductFindAll @"/employer/product/findAll"

//添加设备
#define SERVER_MachineFindAll @"/employer/machine/findAll"
//选择工种
#define SERVER_WorkFindAll @"/employer/work/findAll"

//意见反馈
#define SERVER_FeedBackSave @"/employer/feedback/save"

//关于
#define SERVER_HelpIntro @"/employer/systemConfig/companyIntro"
//客服电话
#define SERVER_HelpPhone @"/employer/systemConfig/customerService"
//帮助中心
#define SERVER_HelpFindAll @"/employer/help/findAll"

//项目订单列表
#define SERVER_ProjectPage @"/employer/project/mine"
//评价分数列表
#define SERVER_EvaluatePage @"/employer/evaluate/page"
//项目详情
#define SERVER_ProjectDetail @"/employer/project/select"
//验收项目或接受消息项目
#define SERVER_ProjectCheck @"/employer/project/finish"
//拒绝消息项目
#define SERVER_ProjectRefuse @"/employer/project/refuse"

//空闲日期保存
#define SERVER_FreeDateSave @"/employer/pipelineFreeDate/save"
//我的空闲日期
#define SERVER_FreeDateMine @"/employer/pipelineFreeDate/findByPipeline"

//系统消息
#define SERVER_MessageMine @"/employer/message/mine"
//系统消息详情
#define SERVER_MessageDetail @"/employer/quotation/select"

//特种工人列表
#define SERVER_WorkFindAll @"/employer/work/findAll"

//评价
#define SERVER_EvaluateSave @"/employer/evaluate/save"
//招工告示
#define SERVER_WorkerNotice @"/employer/project/page"
//雇主
#define SERVER_EmployerSelect @"/employer/employer/select"
//工厂详情
#define SERVER_ContractorDetail @"/employer/contractor/select"
//报名
#define SERVER_recomAdd @"/employer/recommend/add"
//查看项目详情
#define SERVER_projectSelect @"/employer/project/select"
//地图找工厂
#define SERVER_ContractorMap @"/employer/contractor/map"

//消息项目详情保存
#define SERVER_QuotationSave @"/employer/quotation/save"
//接受消息
#define SERVER_QuotationAccept @"/employer/quotation/accept"
//拒绝消息
#define SERVER_QuotationRefuse @"/employer/quotation/refuse"

//我的收藏
#define SERVER_Mycollect @"/employer/collect/mine"

//日报列表
#define SERVER_dailyList @"/employer/daily/page"
//工人项目信息
#define SERVER_workerProject @"/employer/project/findByWorker"
//工人评价信息
#define SERVER_workerEvaluate @"/employer/evaluate/page"
//获取工人信息
#define SERVER_workerMessage @"/employer/worker/select"
//邀请工人
#define SERVER_InviteWorker @"/employer/projectSpot/send"
//雇主项目信息
#define SERVER_EmployerProject @"/employer/project/findByWorker"
//雇主评价信息
#define SERVER_EmployerEvaluate @"/employer/evaluate/page"
//获取雇主信息
#define SERVER_EmployerMessage @"/employer/worker/select"

//发布需求
#define SERVER_ProjectSave @"/employer/project/save"
//生产类型
#define SERVER_CategoryFindAll @"/employer/category/findAll"
//生产产品
#define SERVER_ProductFindAll @"/employer/product/findAll"
//项目日报确定
#define SERVER_DailySave @"/employer/daily/save"
//选择工人(系统推荐)
#define SERVER_WorkerMatch @"/employer/worker/match"
//选择工人(报名)
#define SERVER_WorkerApply @"/employer/worker/recommend"
//选择工人(确认)
#define SERVER_WorkerEnsure @"/employer/projectSpot/choose"
//选择工厂
#define SERVER_ContractorMatch @"/employer/contractor/match"
//选择工厂(确认)
#define SERVER_ContractorEnsure @"/employer/quotation/enquiry"

//支付项目
#define SERVER_PayProject @"/employer/project/pay"

//通知
#define SERVER_MessageInit @"/employer/message/init"
//通知test
#define SERVER_MessageTest @"/employer/message/test"
//收藏，取消收藏 /worker/collect/addOrRemove
#define SERVER_collectAddOrRemove @"/employer/collect/addOrRemove"

//拒绝消息2
#define SERVER_QuotationRefuseSecond @"/employer/projectSpot/refuseInvite"
//拒绝消息3
#define SERVER_QuotationRefuseThird @"/employer/project/refuse"
//接受消息2
#define SERVER_QuotationAcceptSecond @"/employer/projectSpot/acceptInvite"
//接受消息3
#define SERVER_QuotationAcceptThird @"/employer/project/finish"

//协议
#define SERVER_Agreement @"/employer/systemConfig/findByKey"
//协议
#define SERVER_ProjectPay @"/employer/project/pay"
//清空空闲时间
#define SERVER_ClearPipelineFreeDate @"/employer/pipelineFreeDate/clear"

//消息是否未读
#define SERVER_MessageIsRead @"/employer/message/mineCount"
#endif /* APIConfig_h */

//服务器地址
#if 1
#define SERVER_HOST @"https://m.moform.cn"

#else
#define SERVER_HOST @"http://a.h-tt.cn"


#endif /* APIConfig_h */

